Builder

class Builder : GeneratedMessage.Builder<BuilderT> , DeviceOnly.PositionLiteOrBuilder

Position with static location information only for NodeDBLite
Protobuf type meshtastic.PositionLite

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

In meters above MSL (but see issue #359)
int32 altitude = 3;
Link copied to clipboard

The new preferred location encoding, multiply by 1e-7 to get degrees
in floating point
sfixed32 latitude_i = 1;
Link copied to clipboard

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard

TODO: REPLACE
sfixed32 longitude_i = 2;
Link copied to clipboard

This is usually not sent over the mesh (to save space), but it is sent
from the phone so that the local device can set its RTC If it is sent over
the mesh (because there are devices on the mesh without GPS), it will only
be sent by devices which has a hardware GPS clock.
seconds since 1970
fixed32 time = 4;
Link copied to clipboard
open fun getAltitude(): Int

In meters above MSL (but see issue #359)
int32 altitude = 3;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getLatitudeI(): Int

The new preferred location encoding, multiply by 1e-7 to get degrees
in floating point
sfixed32 latitude_i = 1;
Link copied to clipboard

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard
open fun getLongitudeI(): Int

TODO: REPLACE
sfixed32 longitude_i = 2;
Link copied to clipboard
open fun getTime(): Int

This is usually not sent over the mesh (to save space), but it is sent
from the phone so that the local device can set its RTC If it is sent over
the mesh (because there are devices on the mesh without GPS), it will only
be sent by devices which has a hardware GPS clock.
seconds since 1970
fixed32 time = 4;
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(other: Message): DeviceOnly.PositionLite.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DeviceOnly.PositionLite.Builder
Link copied to clipboard

In meters above MSL (but see issue #359)
int32 altitude = 3;
Link copied to clipboard

The new preferred location encoding, multiply by 1e-7 to get degrees
in floating point
sfixed32 latitude_i = 1;
Link copied to clipboard

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard

TODO: REPLACE
sfixed32 longitude_i = 2;
Link copied to clipboard

This is usually not sent over the mesh (to save space), but it is sent
from the phone so that the local device can set its RTC If it is sent over
the mesh (because there are devices on the mesh without GPS), it will only
be sent by devices which has a hardware GPS clock.
seconds since 1970
fixed32 time = 4;